<?php

namespace app\common\model;

use app\common\model\TimeModel;

class VisitLog extends TimeModel
{

    protected $name = "visit_log";

    protected $deleteTime = "delete_time";
    protected $defaultSoftDelete = 0;

    public function shop()
    {
        return $this->hasOne(Shop::class,'id','shop_id');
    }

}